<%@ page language="java" contentType="text/html; charset=UTF-8"
    pageEncoding="UTF-8"%>
    <%@ taglib uri="/struts-tags" prefix="s"%>
<%
	String openId = (String)request.getSession().getAttribute("openId");
	if(openId==null || openId.equals("")){
	 	openId = (String)request.getParameter("openId");
	 	request.getSession().setAttribute("openId", request.getParameter("openId"));	
	}
	 
%>
<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0,,user-scalable=no">
    <meta name="description" content="">
    <meta name="author" content="">
    <link rel="icon" href="http://v3.bootcss.com/favicon.ico">
    <title>最新动态</title>
    <link href="/bootstrapDemo/bootstrap/css/bootstrap.css" rel="stylesheet">
    <link href="/bootstrapDemo/bootstrap/css/bootstrap-theme.min.css" rel="stylesheet">
    <script src="/bootstrapDemo/js/jquery.js"></script>
    <script src="/bootstrapDemo/bootstrap/js/bootstrap.min.js"></script>

  </head>
  
<body >
<img src="/wpages/images/top-ca.jpg" style="width: 100%;height: 70px;">
	<!-- 这里是头部的轮播插件 end-->
<div class="container" style="margin: 10px; padding: 0px;" >
	<s:iterator value="photoList" id="photo" status="statu">
	<p class="text-center"><s:property value="#photo.PTitle"/> <s:date name="%{#photo.PUpdate}"	 format="yyyy-MM-dd " /> </p>
		<img alt="" src="http://bcs.duapp.com/gongfumeng/<s:property value='#photo.PName'/>" style="width: 100%;height: 200px;">
	</s:iterator>
	
</div>
<div id="footer" style="height: 40px; text-align: center;">
 	<p>版权所有@功夫梦·中国 2014-2016</p>
 </div>

<div style="height: 30px;"></div>
<!-- 这里是固定在底部的导航条 start-->
<jsp:include page="/wpages/bottom.jsp"></jsp:include>
	<!-- 这里是固定在底部的导航条 end-->

</body>
</html>